package com.yhally.seata.account.service;

import java.math.BigDecimal;
/**
 *
 * @author wangyu
 * @version 1.0
 * @date 2022/5/6 23:00
 */
public interface AccountService {

    /**
     * @desc 扣减余额
     *
     * @author wangyu
     *
     * @param userId
     * @param money
     * @return void
     * @date 2022/5/6 23:04
     */
    void decrease(Long userId, BigDecimal money);

}
